package com.yizhuoyan.his.util;



public class Strings {

	public static boolean match(String str,String pattern) {
		return true;
	}
	
	public static String $(String s) {
		return trim(s);
	}
    public static String repeat(String s,int times) {
	    if(s==null)return null;
	    StringBuilder result=new StringBuilder(s.length()*times);
	    for(int i=times;i-->0;result.append(s));
        return result.toString();
    }
	
	public static String trim(String s) {
		if(s==null||(s=s.trim()).length()==0)return null;
		return s;
	}
}
